home *** CD-ROM | disk | FTP | other *** search
/ The Microsoft Windows 95 Recource Kit Utilities / Recouce Kit Utilities.iso / rkutil / policies.inf < prev    next >
INI File  |  1995-10-12  |  4KB  |  103 lines

  1. ; policies.INF
  2.  
  3. ; This is the Setup information file to install the animated cursor editor
  4.  
  5. ; Copyright (c) 1993-1995 Microsoft Corporation
  6.  
  7.  
  8. [version]
  9. LayoutFile=rklayout.inf
  10. signature="$CHICAGO$"
  11. SetupClass=BASE
  12.  
  13. [DestinationDirs]
  14. Register.Copy    = 17    ; LDID_INF
  15. rklayout.copy = 17     ;  LDID_INF
  16. policiesCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%\%policies%    ; LDID_APPS\Program Files\Resource Kit
  17.  
  18. [Optional Components]
  19. policies
  20.  
  21. [policies]
  22. OptionDesc  = %policies_Desc%
  23. Tip         = %policies_TIP%
  24. CopyFiles   = policiesCopyFiles, Register.Copy, rklayout.copy
  25. AddReg      = policiesReg, policies.install.reg, Register.AddReg
  26. InstallType = 0            ;Manual only
  27. IconIndex   = 11            ;Default (diamond) mini-icon for dialogs
  28. Uninstall   = policies_remove
  29. UpdateInis  = policies.Inis
  30.  
  31.  
  32. [policies_remove]
  33. DelFiles    = policiesCopyFiles, Register.Copy
  34. DelReg      = UnRegister.DelReg
  35. UpdateInis  = policies.Rem.Inis
  36.  
  37. [rklayout.copy]
  38. rklayout.inf
  39.  
  40. [Register.Copy]
  41. policies.inf
  42.  
  43. [policiesCopyFiles]
  44. policies.txt
  45. maximum.pol
  46. samp1.adm
  47. standard.pol
  48.  
  49.  
  50. [policies.Inis]
  51. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  52. setup.ini, group11,, """%shortcut_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\%policies%,,, policies"       ;creates link
  53.  
  54. [policies.Rem.Inis]
  55. setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%"         ;creates folder
  56. setup.ini, group11,, """%shortcut_Desc%"""                     ;deletes link
  57.  
  58.  
  59. [Register.AddReg]
  60. ;Create entries for Maint Mode Setup
  61. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\policies,DisplayName,,%uninstall_Desc%
  62. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\policies,UninstallString,,"RunDll setupx.dll,InstallHinfSection policies_Remove 4 policies.INF"
  63.  
  64. [UnRegister.DelReg]
  65. ;Remove entries for Maint Mode Setup
  66. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\policies
  67.  
  68. [policiesReg]
  69. ; create the long-name for "Program Files"
  70. ; Note that when you rename a long name, VFAT changes the short name from
  71. ; foobar~1 to foobar~2.  To avoid this, we introduce a work around in the form of
  72. ; an intermediate rename
  73. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
  74. ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
  75. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
  76. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
  77. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
  78. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
  79. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
  80.  
  81.  
  82. [Strings]
  83. RKTOOLS_DESC   = "Resource Kit"
  84. policies = "Policies"
  85. policies_Desc    = "Sample System Policy Files"
  86. policies_TIP     = "Sample system policy files and sample policy template."
  87. DSK = "Windows 95 Resource Kit"
  88. shortcut_Desc   = "Sample System Policy Files"
  89. uninstall_Desc    = "Sample System Policy Files"
  90.  
  91.  
  92.  
  93. ; Directory names - note that that short versions must match the truncated
  94. ; 8 char names for the long versions, or else there will be problems.
  95. ; also need to put the short versions in the [DestinationDirs] section above
  96. ; Used by wordpad, hypertrm, backup, paint, & MSN
  97. Program_Files    = "Programme"         ; changed for the German version of Windows 95
  98. PROGRAMF         = "Progra~1"          ; first 6 chars of Program_Files, + "~1"
  99. OEM_PROGRAMF     = "Progra~1"          ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
  100. ResourceKit      = "Resource Kit"
  101. RESOURCE         = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"
  102. OEM_RESOURCE     = "Resour~1"          ; first 6 chars of Resource Kit, + "~1"  - in OEM codepage (not Ansi)
  103.